meson: allow building man pages without the documentation
authorChristoph Reiter <creiter@src.gnome.org>
Sat, 25 May 2019 16:27:32 +0000 (18:27 +0200)
committerChristoph Reiter <creiter@src.gnome.org>
Sat, 25 May 2019 16:33:01 +0000 (18:33 +0200)
commit758830e7c33573b5393e03137dab659768695f5a
treec9caed4b96bc2f1e63a779006bd8a6b51efb9649
parente95e39cbd3ccb85dd9687bc998457f56bbf9ac75
meson: allow building man pages without the documentation

The 'documentation' option also guarded the man page build. Instead
if skipping the whole docs subdir skip the specific gtkdoc calls, so that the
man page build still works.

This brings it in line with the gtk3 meson build.
docs/reference/gdk/meson.build
docs/reference/gsk/meson.build
docs/reference/gtk/meson.build
docs/reference/meson.build
docs/tools/meson.build
meson.build